package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Table(name = "cn_omc_oldman_supplement")
public class OmcOldManSupplement extends BaseEntity {

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 老人Id
     */
    @Column(name = "old_man_id")
    private Long oldManId;

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 药物过敏史
     */
    @Column(name = "d_history")
    private String dHistory;

    /**
     * 既往病史
     */
    @Column(name = "ps_history")
    private String psHistory;

    /**
     * 体重
     */
    private String weight;

    /**
     * 身高
     */
    private String height;

    /**
     * 社保卡号
     */
    @Column(name = "ss_card")
    private String ssCard;

    /**
     * 人员类别ID
     */
    @Column(name = "people_type")
    private Long peopleType;

    /**
     * 宗教信仰1-无2-佛教3-道教4-伊斯兰教5-基督教
     */
    private Integer religion;


    /*护理等级id*/
    @Column(name = "level_care_id")
    private Long levelCareId;

    /*护理等级名称*/
    @Column(name = "level_care_name")
    private String levelCareName;

    /**
     * 是否残疾 0-否 1-是
     */
    @Column(name = "is_disabled")
    private Integer isDisabled;

    /**
     * 残疾证编号
     */
    @Column(name = "disabled_no")
    private String disabledNo;

    /**
     * 精神残疾等级1-一级2-二级3-三级4-四级
     */
    @Column(name = "s_disabled_level")
    private Integer sDisabledLevel;

    /**
     * 肢体残疾等级1-一级2-二级3-三级4-四级
     */
    @Column(name = "b_disabled_level")
    private Integer bDisabledLevel;

    /**
     * 混合残疾等级
     */
    @Column(name = "sd_disabled_level")
    private Integer sdDisabledLevel;

    /**
     * 原工作单位
     */
    @Column(name = "o_company")
    private String oCompany;

    /**
     * 原工作单位联系人
     */
    @Column(name = "oc_contact")
    private String ocContact;

    /**
     * 原工作单位联系方式
     */
    @Column(name = "oc_phone")
    private String ocPhone;

    /**
     * 原户籍所属街道社区
     */
    @Column(name = "o_community")
    private String oCommunity;

    /**
     * 现籍社区联系电话
     */
    @Column(name = "c_comPhone")
    private String cComphone;

    /**
     * 现户籍所属街道社区
     */
    @Column(name = "c_community")
    private String cCommunity;

    /**
     * 亲属联系电话
     */
    @Column(name = "relative_phone")
    private String relativePhone;

    /**
     * 是否保留骨灰0-否1-是
     */
    @Column(name = "is_keep_ashes")
    private Integer isKeepAshes;

    /**
     * 是否捐赠遗体0-否1-是
     */
    @Column(name = "is_donate")
    private Integer isDonate;

    /**
     * 去世时间 2018-04-27
     */
    @Column(name = "dead_time")
    private String deadTime;

    /**
     * 去世原因
     */
    @Column(name = "dead_reason")
    private String deadReason;

    /**
     * 饮食其它
     */
    @Column(name = "other_diet")
    private String otherDiet;

    /**
     * 申请人姓名
     */
    @Column(name = "eg_name")
    private String egName;

    /**
     * 申请人电话
     */
    @Column(name = "eg_phone")
    private String egPhone;

    /**
     * 特殊饮食
     */
    @Column(name = "special_diet")
    private String specialDiet;

    /**
     * 申请人性别0-男1-女
     */
    @Column(name = "eg_sex")
    private Integer egSex;

    /**
     * 申请人身份证号
     */
    @Column(name = "eg_id_card")
    private String egIdCard;

    /**
     * 申请人工作单位
     */
    @Column(name = "eg_company")
    private String egCompany;

    /**
     * 申请人邮箱
     */
    private String email;

    /**
     * 申请人住址
     */
    @Column(name = "eg_address")
    private String egAddress;

    /**
     * 备用联系人b
     */
    @Column(name = "an_contact_b")
    private String anContactB;

    /**
     * 备用联系人b联系方式
     */
    @Column(name = "an_phone_b")
    private String anPhoneB;

    /**
     * 特殊说明
     */
    @Column(name = "special_case")
    private String specialCase;

    /**
     * 头像
     */
    @Column(name = "head_pic")
    private Long headPic;

    /**
     * 入院时间 2018-02-15
     */
    @Column(name = "in_date")
    private String inDate;

    /**
     * 是否缴费 0-未缴费 1-已缴费
     */
    @Column(name = "is_payed")
    private Integer isPayed;

    /**
     * 合同编号
     */
    @Column(name = "contract_no")
    private Long contractNo;

    /**
     * 入住押金编号
     */
    @Column(name = "in_eposit_no")
    private String inEpositNo;

    /**
     * 入住押金收退款状态 0-未退  1-已退
     */
    @Column(name = "in_deposit_status")
    private Integer inDepositStatus;

    /**
     * 门禁卡id
     */
    @Column(name = "card_id")
    private Integer cardId;

    /**
     * 老人身份证图片
     */
    @Column(name = "id_card_pic")
    private String idCardPic;

    /**
     * 老人出院小结图片
     */
    @Column(name = "out_pic")
    private String outPic;

    /**
     * 其他图片
     */
    @Column(name = "other_pic")
    private String otherPic;

    /**
     * 申请人与修养人关系 1-子女 2-兄弟姐妹 3-旁系亲属 4-朋友 5-其他
     */
    @Column(name = "relation_ship")
    private Integer relationShip;

    /**
     * 备注
     */
    private String remark;

    /**
     * 出院原因
     */
    @Column(name = "out_reason")
    private String outReason;

    /*
    * 入院时选择的床位id
    * */
    @Column(name = "bed_id")
    private Long bedId;

    /*
    * 咨询记录id
    * */
    @Column(name = "advisory_id")
    private Long advisoryId;

    /*
    * 预缴周期id
    * */
    @Column(name = "prepaid_cycle_id")
    private Long prepaidCycleId;

    /**
     * 人员类别(服务类型)
     */
    @Column(name = "service_type")
    private Integer serviceType;

    /**
     * 大健康数据
     */
    @Column(name = "healthl_state")
    private String healthlState;

    /**
     * 是否签约
     */
    @Column(name = "is_sign")
    private Integer isSign;

    /**
     * 签约照片
     */
    @Column(name = "sign_pic")
    private String signPic;
}